package data;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Date date = new Date();
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
		//yyyyMMddHHmmss
		//yyyy-MM-dd HH:mm:ss
		String  dateStr = dateFormat.format(date);
		
        Calendar c = Calendar.getInstance();
        System.out.println(dateFormat.format(c.getTime()));
        c.add(Calendar.DAY_OF_MONTH, 2);
        System.out.println(dateFormat.format(c.getTime()));
        //order.setEndtime(c.getTime());
		//System.out.println();

	}
	

}
